package com.tian.mapper;

import com.tian.entity.ChargeBalanceRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ChargeBalanceRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ChargeBalanceRecord record);

    ChargeBalanceRecord selectByPrimaryKey(Long id);

    List<ChargeBalanceRecord> selectAll();

    List<ChargeBalanceRecord> listPage(@Param("status") int status, @Param("start") int start, @Param("pageSize") int pageSize);

    ChargeBalanceRecord selectByOrderNo(String orderNo);

    int updateByPrimaryKey(ChargeBalanceRecord record);

    int selectByStatus(@Param("status") int status);
}